module Base
{
	imports    
    {
		Base
	}
    item Pistol
	{
	    DisplayCategory = Weapon,
		ImpactSound	=	null,
		MaxRange	=	8,
		WeaponSprite	=	TNFPBeretta,
		SoundVolume	=	30,
		MinAngle	=	0.95,
		Type	=	Weapon,
		MinimumSwingTime	=	0.5,
		ToHitModifier	=	1.5,
		NPCSoundBoost	=	1.5,
		KnockBackOnNoDeath	=	TRUE,
		Ranged	=	TRUE,
		SwingAmountBeforeImpact	=	0,
		ProjectileCount	=	1,
		ConditionLowerChanceOneIn	=	60,
		Weight	=	1.5,
		SplatNumber	=	3,
		PushBackMod	=	0.3,
		SubCategory	=	Firearm,
		ConditionMax	=	10,
		ShareDamage	=	FALSE,
		MaxHitCount	=	1,
		IsAimedFirearm	=	TRUE,
		DoorDamage	=	5,
		UseEndurance	=	FALSE,
		SwingAnim	=	Handgun,
		DisplayName	=	M9 Pistol,
		MinRange	=	0.61,
		SwingTime	=	0.5,
		MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = M9BringToBear,
		SwingSound	=	M9Shoot,
		HitSound = BulletHitBody,
		ClickSound = M9Jam,
		SoundRadius	=	40,
		MinDamage	=	0.6,
		MaxDamage	=	1,
		SplatSize	=	3,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	M9,
		RunAnim	=	Run_Weapon2,
		CriticalChance	=	20,
        CritDmgMultiplier = 4,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 50,
        AimingPerkHitChanceModifier = 8,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 20,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 30,
        AimingTime = 15,
        BreakSound = M9Break,
        MetalValue = 30,
        AmmoBox = Bullets9mmBox,
        MaxAmmo = 15,
		EquipSound = M9Equip,
		UnequipSound = M9UnEquip,
        InsertAmmoSound = M9InsertAmmo,
        EjectAmmoSound = M9EjectAmmo,
		InsertAmmoStartSound = M9InsertAmmoStart,
		InsertAmmoStopSound = M9InsertAmmoStop,
		EjectAmmoStartSound = M9EjectAmmoStart,
		EjectAmmoStopSound = M9EjectAmmoStop,
        ShellFallSound = M9CartridgeFall,
        RackSound = M9Rack,
        MagazineType = Base.9mmClip,
        AmmoType = Base.Bullets9mm,
        WeaponReloadType = handgun,
        JamGunChance = 2,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = GunLight GunLight gunlight gunlight,
        ModelWeaponPart = IronSight IronSight scope scope,
        ModelWeaponPart = Laser Laser laser laser,
        AttachmentType = Holster,
        StopPower = 5,
	}

    model TNFPBeretta
	{
		mesh = weapons/firearm/M9_TNFP,
		texture = weapons/firearm/M9_Baretta,
		scale = 1,

		attachment muzzle
		{
			offset = 0.0000 -0.0250 0.1390,
			rotate = 0.0000 0.0000 -180.0000,
		}

		attachment world
		{
			offset = 0.0200 0.1300 0.0000,
			rotate = 180.0000 0.0000 180.0000,
		}
	}

	item Pistol2
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	8,
        WeaponSprite	=	TNFPM1911,
        SoundVolume	=	50,
        MinAngle	=	0.95,
        Type	=	Weapon,
        MinimumSwingTime	=	0.5,
        ToHitModifier	=	1.5,
        NPCSoundBoost	=	1.5,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        SwingAmountBeforeImpact	=	0,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	1.5,
        SplatNumber	=	3,
        PushBackMod	=	0.3,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	5,
        UseEndurance	=	FALSE,
        SwingAnim	=	Handgun,
        DisplayName	=	M1911A1 Pistol,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = M1911BringToBear,
        SwingSound	=	M1911Shoot,
        HitSound = BulletHitBody,
		ClickSound = M1911Jam,
        SoundRadius	=	50,
        MinDamage	=	1,
        MaxDamage	=	1.4,
        SplatSize	=	3,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	M1911_Clean,
        RunAnim	=	Run_Weapon2,
        CriticalChance	=	20,
        CritDmgMultiplier = 4,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 40,
        AimingPerkHitChanceModifier = 10,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 25,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 30,
        AimingTime = 20,
        BreakSound = M1911Break,
        MetalValue = 30,
        AmmoBox = Bullets45Box,
        MaxAmmo = 7,
		EquipSound = M1911Equip,
		UnequipSound = M1911UnEquip,
        InsertAmmoSound = M1911InsertAmmo,
        EjectAmmoSound = M1911EjectAmmo,
		InsertAmmoStartSound = M1911InsertAmmoStart,
		InsertAmmoStopSound = M1911InsertAmmoStop,
		EjectAmmoStartSound = M1911EjectAmmoStart,
		EjectAmmoStopSound = M1911EjectAmmoStop,
        ShellFallSound = M1911CartridgeFall,
        RackSound = M1911Rack,
        MagazineType = Base.45Clip,
        AmmoType = Base.Bullets45,
        WeaponReloadType = handgun,
        JamGunChance = 2,
        AttachmentType = Holster,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = GunLight GunLight gunlight gunlight,
        ModelWeaponPart = IronSight IronSight scope scope,
        ModelWeaponPart = Laser Laser laser laser,
        StopPower = 7,
    }
    model TNFPM1911
	{
		mesh = weapons/firearm/TNFPM1911,
		texture = weapons/firearm/M1911_CLEAN_2,
		scale = .9,

		attachment muzzle
		{
			offset = 0.0000 -0.0250 0.1390,
			rotate = 0.0000 0.0000 -180.0000,
		}

		attachment world
		{
			offset = 0.0200 0.1300 0.0000,
			rotate = 180.0000 0.0000 180.0000,
		}
	}

    item 9mmClip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	Beretta M9 Magazine,
        Icon	=	HiPower_Mag,
        MaxAmmo = 15,
        AmmoType = Base.Bullets9mm,
        StaticModel = HiPowerMag,
        GunType = Base.HiPower,
        WorldStaticModel = HiPowerMag,
    }

    item 45Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	M1911A1 Magazine,
        Icon	=	COLT1903_Mag,
        MaxAmmo = 7,
        AmmoType = Base.Bullets45,
        StaticModel = HiPowerMag,
        GunType = Base.HiPower,
        WorldStaticModel = HiPowerMag,
    }

}
